/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */

import React, {Component} from 'react';
import {
    Platform,
    StyleSheet,
    Text,
    View
} from 'react-native';
import CS from "../filter/common/CS";


export default class App extends Component {
    render() {
        return (
            <View style={{flex: 1}}>
                <Text style={{width: 250, height: 150, backgroundColor: CS.gray66}}>
                </Text>
                <Text style={{width: 150, height: 150, backgroundColor: CS.gray66tran}}>
                </Text>
                <Text style={{
                    width: 150,
                    height: 150,
                    backgroundColor: CS.greenDark,
                    position: 'absolute',
                    // display:"none",//隐藏无效
                    top: 20,
                    left: 20,
                }}>
                </Text>
            </View>
        );
    }
}

const styles = StyleSheet.create({
    container: {
        flex: 1,
        justifyContent: 'center',
        alignItems: 'center',
        backgroundColor: '#F5FCFF',
    },
    welcome: {
        fontSize: 20,
        textAlign: 'center',
        margin: 10,
    },
    instructions: {
        textAlign: 'center',
        color: '#333333',
        marginBottom: 5,
    },
});
